package com.hr.service;

import java.util.List;

import com.hr.model.WageModel;

public interface WageService {
	/**
	 * 获取薪资列表
	 * @return
	 */
	public List<WageModel> findAll();
	
	/**
	 * 查看员工薪资
	 * @param user_id
	 * @return
	 */
	public List<WageModel> findByUserId(String user_id);
	
	/**
	 * 增加薪资信息 
	 * @param userModel
	 * @return
	 */
	public boolean editWage(WageModel wageModel);
	
	/**
	 * 检查当前员工当月工资是否已经发放过
	 * @param user_id
	 * @param wage_date
	 * @return
	 */
	public String checkWageHaveSend(String user_id,String wage_date);
	
	/**
	 * 删除薪资
	 * @param user_id
	 * @param wage_date
	 */
	public void deleteWage(String user_id,String wage_date);
}
